﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZOIL.DataModel;

namespace ZOIL.Library.Components//Library.Components.ViPostIt
{
    [ViewModelFor(typeof(ViPostIt))]
    class ViPostItThumbnailViewModel : BaseViewModel
    {
        public ViPostItThumbnailViewModel() : base()
        {
            RegisterChangeNotification("SmallUrl", "SmallUrl");//why only smallurl when other properties does exist?
        }

        public Uri SmallUrl
        {
            get
            {
                return ((ViPostIt)Model).SmallUrl;
            }
            set
            {
                ((ViPostIt)Model).SmallUrl = value;
                RaisePropertyChangedEvent("SmallUrl");
            }
        }
    }
}
